package com.zdp.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author sesshomaru
 * @since 2021-08-01
 */
@TableName("users")
public class Users implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    private String imoocUserId;

    private String password;

    private LocalDateTime endDate;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getImoocUserId() {
        return imoocUserId;
    }

    public void setImoocUserId(String imoocUserId) {
        this.imoocUserId = imoocUserId;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public LocalDateTime getEndDate() {
        return endDate;
    }

    public void setEndDate(LocalDateTime endDate) {
        this.endDate = endDate;
    }

    @Override
    public String toString() {
        return "Users{" +
        "id=" + id +
        ", imoocUserId=" + imoocUserId +
        ", password=" + password +
        ", endDate=" + endDate +
        "}";
    }
}
